//
//  QuartzFunView.h
//  iPhoneDev01
//
//  Created by smu on 11-7-14.
//  Copyright 2011年 duk. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Constants.h"


@interface QuartzFunView : UIView {
    CGPoint     firstTouch;  //第一次触摸屏幕的位置
    CGPoint     lastTouch;  //拖动结束时手指的位置
    UIColor     *currentColor;  //存放用户的颜色选择
    ShapeType   shapeType;
    UIImage     *drawImage;
    BOOL        useRandomColor;  //跟踪用户是否请求随机颜色
    
    CGRect      redrawRect;
}
@property CGPoint firstTouch;
@property CGPoint lastTouch;
@property (nonatomic, retain) UIColor *currentColor;
@property ShapeType shapeType;
@property (nonatomic, retain) UIImage *drawImage;
@property BOOL useRandomColor;
@property (readonly) CGRect currentRect;
@property CGRect redrawRect;

@end
